<template>
  <!-- <img alt="Vue logo" src="./assets/logo.png">
  <HelloWorld/>
  <Model v-if="false"/> -->
  <Suspense>
    <template #default>
      <AsyncShow />
    </template>
    <template #fallback>
      <h1>Loading...</h1>
    </template>
  </Suspense>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import HelloWorld from './components/HelloWorld.vue';
import Model from './components/Model.vue';
import AsyncShow from './components/AsyncShow.vue';


export default defineComponent({
  name: 'App',
  components: {
    HelloWorld,
    Model,
    AsyncShow
  }
});
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
